package com.swsc.solarverse.common.util;

import com.swsc.solarverse.common.exception.BizException;

/**
 * @Author chencl
 * @Date 2022/6/14 15:04
 * @Version 1.0
 * @Description BizAssert
 */
public class BizAssert {

    public static void isFalse(boolean flag, String message){
        if(flag){
            throw new BizException(500, message);
        }
    }

    private BizAssert(){}
}
